home *** CD-ROM | disk | FTP | other *** search
- #define STRICT
- #include <windows.h>
- #include <windowsx.h>
- #include <stdio.h>
- #include "appprint.h"
-
- /*----------------------------------------------------------------------------*/
- /* FUNCTION: OkMsgBox(char *szCaption, char *szFormat, ...) */
- /* */
- /* PURPOSE: Display in an OKmessageBox a given text */
- /*----------------------------------------------------------------------------*/
- VOID OkMsgBox(char *szCaption, char *szFormat, ...)
- {
- char *pArguments;
-
- pArguments = (char *) &szFormat + sizeof(szFormat);
- vsprintf(szBuffer, szFormat, pArguments);
- MessageBox(NULL, szBuffer, szCaption, MB_OK);
- }
-